package com.woniu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.mapper.PatternMapper;
import com.woniu.pojo.Pattern;
import com.woniu.service.PatternService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Ma.Lei
* @description 针对表【t_pattern】的数据库操作Service实现
* @createDate 2022-12-16 23:28:16
*/
@Service
public class PatternServiceImpl extends ServiceImpl<PatternMapper, Pattern>
    implements PatternService {

    @Autowired
    private PatternMapper patternMapper;

    @Override
    public List<Pattern> listRoadPattern(String roadId) {
        return patternMapper.listRoadPattern(roadId);
    }
}




